summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-12-18 07:36:21 +0100
committergerman77 <juangerman-13@hotmail.com>2022-12-18 07:37:06 +0100
commitc218c7d4da427a924bf935d8e5e6be04f7e43da5 (patch)
treeffafb3337c63afe45b3112bbad6b2c02d524a00d
parentEnable compiler optimizations and enforce x86-64-v2 on GCC/Clang (#9442) (diff)
downloadyuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar
yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar.gz
yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar.bz2
yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar.lz
yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar.xz
yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar.zst
yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.zip
-rw-r--r--src/yuzu/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 2e6c2311a..fe140dce0 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -2661,6 +2661,9 @@ void GMainWindow::OnMenuInstallToNAND() {
return;
}
+ // Save folder location of the first selected file
+ UISettings::values.roms_path = QFileInfo(filenames[0]).path();
+
int remaining = filenames.size();
// This would only overflow above 2^43 bytes (8.796 TB)